//
//  Common.swift
//  WeiBo
//
//  Created by macbook on 16/6/28.
//  Copyright © 2016年 buWangChuXing. All rights reserved.
//
/*
 App Key：
 2585448626
 App Secret：
 6e12bfa03513d35705fdf2be0514f2b3
 
 授权回调页：
 http://www.baidu.com

 */
import UIKit


 /// appkey
let APPKEY = "2585448626"

 /// appsecret
let APPSECRET = "6e12bfa03513d35705fdf2be0514f2b3"

/// 授权回调页
let REDIRECT_URI = "http://www.baidu.com"


/**
 主题颜色
 */
let ThemeColor = UIColor.orangeColor()

/**
 屏幕的框和高
 */
let KScreenW = UIScreen.mainScreen().bounds.size.width
let KScreenH = UIScreen.mainScreen().bounds.size.height

/**
 RGB
 */

func RGB(red:CGFloat,green:CGFloat,blue:CGFloat)->UIColor{
    
    return UIColor(red: red/255, green: green/255, blue: blue/255, alpha: 1)

}








